﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Flower_5
{
    class AbstractFlower
    {
        private int _stem_length; //длина стебля
        private double _price;
        private string _color;

        public int length()
        {
            return _stem_length;
        }
        public void lengthSet(int value)
        {
            _stem_length = value;
        }
        public double price()
        {
            return _price;
        }
        public void priceSet(double value)
        {
            _price = value;
        }
        public string color()
        {
            return _color;
        }
        public void colorSet(string value)
        {
            _color = value;
        }
    }
}
